@echo off
set destdir="..\install\OneIntranet_install"
echo Creating APP
rem xcopy ConfigUtil\BoldBrick.SharePoint.Deployment.ConfigUtil.exe %destdir%\app\ /y
xcopy bin\gacutil.exe %destdir%\app\ /y
xcopy bin\gacutil.exe.config %destdir%\app\ /y

echo Creating WSP
xcopy BoldBrick.OneIntranet.HR\bin\Debug\BoldBrick.OneIntranet.HR.wsp %destdir%\wsp\ /y
xcopy BoldBrick.SharePoint.CommonControls\bin\Debug\BoldBrick.SharePoint.CommonControls.wsp %destdir%\wsp\ /y

echo Creating DLL
xcopy ..\libs\log4net.dll %destdir%\dll\ /y
rem xcopy ..\_external\nunit.framework.dll %destdir%\dll\ /y

echo Copying scripts
xcopy Config\*.bat %destdir%\config\
xcopy _000_Command_Line.cmd %destdir%\ /y
xcopy _*.bat %destdir%\ /y
del %destdir%\_9*.*

echo Copying common configs
rem xcopy ..\common\config\*.xml %destdir%\config\ /y
rem xcopy config\*.xml %destdir%\config\ /y